@import "theme/theme.light.css";
@import "theme/tokens.css";


* {
    scroll-behavior: smooth;
}


html {
    height: -webkit-fill-available;
    height: 100%;
    margin: 0;
    padding: 0;

}


#root {
    height: -webkit-fill-available;
    height: 100%;
}

.badge {
    text-align: end;
    color: var(--md-sys-color-on-secondary);
    background-color: var(--md-sys-color-secondary);
}


body {
    height: 100%;
    display: flex;
    min-height: -webkit-fill-available;
    padding-top: 60px;
    flex-direction: column;
}

body.locked {
    overflow: hidden;
}


main {
    height: inherit;


    background-color: var(--md-sys-color-surface);
}


.sidebar {
    background-color: var(--md-sys-color-surface-container) !important;
    width: 280px;
}


#margin-auto {
    margin-top: auto;
}


.primary-button {
    background-color: var(--md-sys-color-primary);
    outline-color: var(--md-sys-color-primary);
    --bs-btn-hover-border-color: var(--md-sys-color-primary);
    --bs-btn-border-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.primary-button:hover {

    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.outlined-button {
    color: var(--md-sys-color-primary);

    --bs-btn-border-color: var(--md-sys-color-secondary);
    --bs-btn-hover-bg: var(--md-sys-color-secondary);
}


#container-footer {
    width: 100%;
}

.badge-login {
    --bs-badge-border-radius: 0px !important;
    border-color: var(--md-sys-color-primary-container-light) !important;

    background-color: var(--md-sys-color-secondary-container) !important;
    color: var(--md-sys-color-on-secondary-container) !important;
}


#button-home:hover, #button-cart:hover, #button-store:hover {
    background-color: var(--md-sys-color-secondary);
    color: var(--md-sys-color-on-secondary);
}

#container-chat {
    position: absolute;

    display: flex;
    flex-direction: column;

    border-radius: 26px;
    width: 320px;
    height: 460px;
    margin-right: 60px;
    margin-bottom: 60px;
    background-color: var(--md-sys-color-surface-container);
    right: 0;

    bottom: 0;
    box-shadow: 0px 0px 20px rgba(0.1, 0, 0, 0.3);

    z-index: 999;

}

#right-message, #left-message {
    flex-shrink: 1 !important;
    height: fit-content;
    width: fit-content;
    border-radius: 20px;
    color: var(--md-sys-color-on-primary-container);
    background-color: var(--md-sys-color-primary-container);
    margin-top: 12px;
    padding: 7px 10px 7px 10px;
}

#right-message {
    margin-left: 12px;
    margin-right: 60px;
}

#left-message {
    margin-left: auto;
    margin-right: 12px;
}

#right-message p {
    width: fit-content;
}

#container-messages {
    width: 100%;
    border-radius: 26px;
    flex-grow: 1;
    display: block;

    flex-direction: row ;

    background-color: var(--md-sys-color-surface);

    overflow-y: scroll;


}

#badge-chat {
    width: fit-content !important;
    --bs-badge-border-radius: 0px !important;
    border-color: var(--md-sys-color-secondary) !important;

    background-color: var(--md-sys-color-secondary) !important;
    color: var(--md-sys-color-on-secondary) !important;
    padding-right: 10px !important;
}

#chat-control {

}

#chat-input {
    background-color: var(--md-sys-color-surface);
    border: 0px solid;
}

#button-send {
    background-color: var(--md-sys-color-primary);
    outline-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-secondary);
    border: 0px solid;
}

#fab {
    position: absolute;
    margin-right: 52px;
    margin-bottom: 52px;
    right: 0;

    bottom: 0;

    box-shadow: 0px 0px 20px rgba(0.1, 0, 0, 0.3);

    z-index: 999;

    border-radius: 60px;
    outline: none;
    width: 70px;
    height: 70px;
}





